<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <title>Title</title>
    <meta name="viewport" content="width=device-width, initial-scale=1.0, maximum-scale=1.0, user-scalable=0" />
    {include file="public/simple-js-header"}
</head>
<body>
测试授权页面
<form method="post" enctype="multipart/form-data" action="/index/Authpage/wxauthpage">
    <input type="text" name="redirect_url" value="https://meebomid.playone.cn/api/Goods/getGoodsById/id/1">
    <div>
        <input type="submit" value="提交">
    </div>
</form>
<br/>
测试跨域请求：
<form method="post" enctype="multipart/form-data" action="">
    <input type="text" class="api_url"
           style="width: 98%"
           value="https://meebomid.playone.cn/api/appmenuconfig/getAppmenuconfigInfo">
    <div>
        <input type="button" onclick="submitForm()" value="提交跨域请求">
    </div>
</form>
</body>
{include file="public/simple-js-footer"}
<script>
    function submitForm(){
        let url = $('.api_url').val();
        $.post(url,{},function (res){

        },'json')
    }
</script>
</html>